<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title><sitemesh:write property='title' />-润山东方百货自媒体微信服务后台管理系统</title>
<c:set var="ctx" scope="session" value="${pageContext.request.contextPath}"></c:set>
<script type="text/javascript">
	var ctx = "${ctx }";
</script>

<link rel="stylesheet" type="text/css" href="<c:url value='/static/skins/css/pintuer.css'/>">
<link rel="stylesheet" type="text/css" href="<c:url value='/static/skins/css/admin.css'/>">
<link rel="stylesheet" type="text/css" href="<c:url value='/static/plugins/webuploader/webuploader.css'/>">
<link rel="stylesheet" type="text/css" href="<c:url value='/static/skins/css/style.css'/>">
<link rel="stylesheet" href="<c:url value='/static/skins/css/admin-qiye.css'/>">
<link rel="stylesheet" type="text/css" href="<c:url value="/static/plugins/jquery/plugins/loadmask/css/jquery.loadmask.css"/>" />

<script type="text/javascript" charset="utf-8" src="<c:url value='/static/plugins/jquery/1.11.2/jquery.js'/>"></script>
<script type="text/javascript" charset="utf-8" src="<c:url value='/static/skins/js/pintuer.js'/>"></script>
<script type="text/javascript" charset="utf-8" src="<c:url value='/static/skins/js/respond.js'/>"></script>
<script type="text/javascript" charset="utf-8" src="<c:url value='/static/skins/js/admin.js'/>"></script>
<script type="text/javascript" charset="utf-8" src="<c:url value="/static/plugins/jquery/plugins/loadmask/jquery.loadmask.min.js" />"></script>
<script type="text/javascript" charset="utf-8" src="<c:url value="/static/plugins/jee/DateFormat.js" />"></script>
<script type="text/javascript" charset="utf-8" src="<c:url value="/static/plugins/ueditor/ueditor.config.js" />"></script>
<script type="text/javascript" charset="utf-8" src="<c:url value="/static/plugins/ueditor/ueditor.all.min.js" />"> </script>
<script type="text/javascript" charset="utf-8" src="<c:url value="/static/plugins/ueditor/lang/zh-cn/zh-cn.js" />"></script>
<script type="text/javascript" charset="utf-8" src="<c:url value="/static/plugins/webuploader/webuploader.min.js" />"></script>

<link rel="stylesheet" href="<c:url value='/static/plugins/jqwidgets/3.7.0/styles/jqx.base.css' />" type="text/css" />
<script type="text/javascript" src="<c:url value='/static/plugins/jqwidgets/3.7.0/jqx-all.js' /> "></script>

<link type="image/x-icon" href="<c:url value='/static/skins/images/favicon.ico'/>" rel="shortcut icon" />
<link href="<c:url value='/static/skins/images/favicon.ico'/>" rel="bookmark icon" />
<sitemesh:write property='head' />
</head>

<body>
	<div class="lefter">
		<div class="logo" style="padding: 2px;"><a href="http://www.pintuer.com" target="_blank"><img width="100px" src="<c:url value='/static/skins/images/logo.png' />" alt="后台管理系统" /></a></div>
	</div>
	<div class="righter nav-navicon" id="admin-nav">
		<div class="mainer">
			<div class="admin-navbar">
				<span class="float-right"> 
					<a class="button button-little bg-yellow" href="${ctx }/logout">注销登录</a>
				</span>
				<ul class="nav nav-inline admin-nav">
					<li><a href="<c:url value='/index' />" class="icon-home"> 开始</a></li>
					<c:if test="${CURRENT_LOGINED_MEMBER.roleKey eq 'admin' }">
						<li>
							<a href="<c:url value='/admin/preSaleOrder/list' />" class="icon-shopping-cart"> 预售系统</a>
							<ul>
								<li id="sales-product"><a href="<c:url value='/admin/product/list' />">商品管理</a></li>
								<li id="info-preSaleOrder"><a href="<c:url value='/admin/preSaleOrder/list' />">订单管理</a></li>
								<!-- <li><a href="#">报表管理</a></li>
								<li><a href="#">物流查询</a></li> -->
							</ul>
						</li>
						<li>
							<a href="<c:url value='/admin/voiceAsk/list' />" class="icon-file"> 问询系统</a>
							<ul>
								<li id="ask-voice"><a href="<c:url value='/admin/voiceAsk/list' />">问询服务</a></li>
								<li id="ask-keyword-key"><a href="<c:url value='/admin/keywordAsk/list?type=0' />">关键字设置</a></li>
								<li id="ask-keyword-fixed"><a href="<c:url value='/admin/keywordAsk/list?type=1' />">帮助管理</a></li>
							</ul>
						</li>
						<li>
							<a href="<c:url value='/admin/weixinMenu/info' />" class="icon-file-text"> 消息系统</a>
							<ul>
								<!-- <li id="info-activity"><a href="<c:url value='/admin/information/list?type=0' />">活动管理</a></li>
								<li id="info-mall"><a href="<c:url value='/admin/information/edit?type=1' />">商城简介</a></li>
								<li id="info-floor"><a href="<c:url value='/admin/information/list?type=2' />">楼层简介</a></li>
								<li id="info-company"><a href="<c:url value='/admin/information/edit?type=3' />">公司简介</a></li>
								<li id="info-sourceDic"><a href="<c:url value='/admin/sourceDic/list' />">消息资源</a></li> -->
								<li id="info-weixinMenu"><a href="<c:url value='/admin/weixinMenu/info' />">菜单管理</a></li>
							</ul>
						</li>
						<li>
							<a href="<c:url value='/admin/vip/list' />" class="icon-user"> 会员系统</a>
							<ul>
								<li id="vip-list"><a href="<c:url value='/admin/vip/list' />">会员管理</a></li>
							</ul>
						</li>
						<li>
							<a href="<c:url value="/admin/weishequ/list" />" class="icon-th-list"> 社交系统</a>
							<ul>
								<li id="sn-theme" ><a href="<c:url value="/admin/weishequ/list" />">社交系统</a></li>
							</ul>
						</li>
						<li>
							<a href="<c:url value="/admin/qiye/dept/book" />" class="icon-user"> 人资系统</a>
							<ul>
								<li id="qiyeMessageSend"><a href="<c:url value='/admin/qiye/message/send' />">消息发送</a></li>
								<li id="person-book"><a href="<c:url value="/admin/qiye/dept/book" />">通讯录</a></li>
								<li id="qiyeMessageList"><a href="<c:url value='/admin/qiye/message/list' />">消息历史</a></li>
							</ul>
						</li>
						<!-- <li>
							<a href="javascript:alert('开发中');" class="icon-cog"> 系统管理</a>
							<ul>
								<li ><a href="#">商城信息维护</a></li>
								<li ><a href="#">商品维护</a></li>
								<li><a href="#">分类设置</a></li>
								<li><a href="#">链接管理</a></li>
							</ul>
						</li> -->
					</c:if>
					<c:if test="${CURRENT_LOGINED_MEMBER.roleKey eq 'planning' }">
						<li>
							<a href="<c:url value='/admin/voiceAsk/list' />" class="icon-file"> 问询系统</a>
							<ul>
								<li id="ask-voice"><a href="<c:url value='/admin/voiceAsk/list' />">问询服务</a></li>
								<li id="ask-keyword-key"><a href="<c:url value='/admin/keywordAsk/list?type=0' />">关键字设置</a></li>
								<li id="ask-keyword-fixed"><a href="<c:url value='/admin/keywordAsk/list?type=1' />">帮助管理</a></li>
							</ul>
						</li>
						<li>
							<a href="<c:url value='/admin/weixinMenu/info' />" class="icon-file-text"> 消息系统</a>
							<ul>
								<!-- <li id="info-activity"><a href="<c:url value='/admin/information/list?type=0' />">活动管理</a></li>
								<li id="info-mall"><a href="<c:url value='/admin/information/edit?type=1' />">商城简介</a></li>
								<li id="info-floor"><a href="<c:url value='/admin/information/list?type=2' />">楼层简介</a></li>
								<li id="info-company"><a href="<c:url value='/admin/information/edit?type=3' />">公司简介</a></li>
								<li id="info-sourceDic"><a href="<c:url value='/admin/sourceDic/list' />">消息资源</a></li>-->
								<li id="info-weixinMenu"><a href="<c:url value='/admin/weixinMenu/info' />">菜单管理</a></li>
							</ul>
						</li>
						<li>
							<a href="<c:url value='/admin/vip/list' />" class="icon-user"> 会员系统</a>
							<ul>
								<li id="vip-list"><a href="<c:url value='/admin/vip/list' />">会员管理</a></li>
							</ul>
						</li>
					</c:if>
					<c:if test="${CURRENT_LOGINED_MEMBER.roleKey eq 'operate' }">
						<li>
							<a href="<c:url value='/admin/preSaleOrder/list' />" class="icon-shopping-cart"> 预售系统</a>
							<ul>
								<li id="sales-product"><a href="<c:url value='/admin/product/list' />">商品管理</a></li>
								<li id="info-preSaleOrder"><a href="<c:url value='/admin/preSaleOrder/list' />">订单管理</a></li>
								<!-- <li><a href="#">报表管理</a></li>
								<li><a href="#">物流查询</a></li> -->
							</ul>
						</li>
						<li>
							<a href="<c:url value='/admin/vip/list' />" class="icon-user"> 会员系统</a>
							<ul>
								<li id="vip-list"><a href="<c:url value='/admin/vip/list' />">会员管理</a></li>
							</ul>
						</li>
					</c:if>
					<c:if test="${CURRENT_LOGINED_MEMBER.roleKey eq 'finance' }">
						<li>
							<a href="<c:url value='/admin/preSaleOrder/list' />" class="icon-shopping-cart"> 预售系统</a>
							<ul>
								<li id="sales-product"><a href="<c:url value='/admin/product/list' />">商品管理</a></li>
								<li id="info-preSaleOrder"><a href="<c:url value='/admin/preSaleOrder/list' />">订单管理</a></li>
								<!-- <li><a href="#">报表管理</a></li>
								<li><a href="#">物流查询</a></li> -->
							</ul>
						</li>
						<li>
							<a href="<c:url value='/admin/vip/list' />" class="icon-user"> 会员系统</a>
							<ul>
								<li id="vip-list"><a href="<c:url value='/admin/vip/list' />">会员管理</a></li>
							</ul>
						</li>
					</c:if>
					<c:if test="${CURRENT_LOGINED_MEMBER.roleKey eq 'customerService' }">
						<li>
							<a href="<c:url value='/admin/voiceAsk/list' />" class="icon-file"> 问询系统</a>
							<ul>
								<li id="ask-voice"><a href="<c:url value='/admin/voiceAsk/list' />">问询服务</a></li>
								<li id="ask-keyword-key"><a href="<c:url value='/admin/keywordAsk/list?type=0' />">关键字设置</a></li>
								<li id="ask-keyword-fixed"><a href="<c:url value='/admin/keywordAsk/list?type=1' />">帮助管理</a></li>
							</ul>
						</li>
					</c:if>
					<c:if test="${CURRENT_LOGINED_MEMBER.roleKey eq 'humanResources' }">
						<li>
							<a href="<c:url value="/admin/qiye/dept/book" />" class="icon-user"> 人资系统</a>
							<ul>
								<li id="qiyeMessageSend"><a href="<c:url value='/admin/qiye/message/send' />">消息发送</a></li>
								<li id="person-book"><a href="<c:url value="/admin/qiye/dept/book" />">通讯录</a></li>
								<li id="qiyeMessageList"><a href="<c:url value='/admin/qiye/message/list' />">消息历史</a></li>
							</ul>
						</li>
					</c:if>
				</ul>
			</div>
			<div class="admin-bread">
				<span>您好&nbsp;<button id="member-button" class="doc-animation button bg-green" style="padding: 0;">${CURRENT_LOGINED_MEMBER.account }</button>&nbsp;欢迎您的光临。</span>
				<ul class="bread">
					<li><a href="<c:url value='/index' />" class="icon-home"> 开始</a></li>
					<li id="bread-title">后台首页</li>
				</ul>
			</div>
		</div>
	</div>

	<div class="admin">
		<sitemesh:write property='body' />
	</div>
	<script type="text/javascript">
		$(function() {
			$('#member-button').click(function(){
				location.href = ctx + '/admin/member/editPassword'
			});
		});
	</script>
</body>
</html>
